package com.ruoyi.other.service.impl;

import com.ruoyi.other.domain.EPersonnel;
import com.ruoyi.other.mapper.EPersonnelMapper;
import com.ruoyi.other.service.EPersonnelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EPersonnelServiceImpl implements EPersonnelService {
    @Autowired
    EPersonnelMapper ePersonnelMapper;

    @Override
    public Integer getVip(String vip) {
        return ePersonnelMapper.getVip(vip);
    }

    @Override
    public Integer getCourier() {
        return ePersonnelMapper.getCourier();
    }

    @Override
    public Integer getCommonVip() {
        return ePersonnelMapper.getCommonVip();
    }

    /**
     * 查询快递员管理列表
     *
     * @param
     * @return 会员管理
     */
    @Override
    public List<EPersonnel> selectCourierList()
    {
        return ePersonnelMapper.selectCourierList();
    }

    @Override
    public Integer getYesterdayVip(String yesterdayVip) {
        return ePersonnelMapper.getYesterdayVip(yesterdayVip);
    }

    @Override
    public Integer getYesterdayCcourier() {
        return ePersonnelMapper.getYesterdayCcourier();
    }

    @Override
    public Integer getYesterdayCommonVip() {
        return ePersonnelMapper.getYesterdayCommonVip();
    }
}
